/**
 * 
 */
package de.idgard.json.response;

import java.util.Iterator;
import java.util.List;

import de.idgard.webapp.shared.dto.privacy.HistoryItem;
import de.idgard.webapp.shared.dto.transport.JsonResponse;

/**
 * 
 * @author <a href="mailto:vesko.georgiev@uniscon.com">Vesko Georgiev</a>
 */
public class HistoryListResponse extends JsonResponse<List<HistoryItem>> implements Iterable<HistoryItem> {

	public int size() {
		return data.size();
	}

	public HistoryItem get(int i) {
		return data.get(i);
	}

	@Override
	public Iterator<HistoryItem> iterator() {
		return data.iterator();
	}

}
